 <?php require_once('./admin/View/inc_admin.php'); ?>
 <div id="content">
   <div class="inner" style="min-height:1200px;">
    <div class="row">
      <div class="col-xs-12">
       <h1 class="text-center">请填写视频信息</h1>
       <form method=post action="index.php?c=video&m=add1"enctype="multipart/form-data"class="form-horizontal">
        <div class="form-group">
          <label for="videoname" class="col-md-5 control-label">视频名称</label>
          <div class="col-md-3">
            <input type="text" class="form-control" id="videoname" placeholder="videoname" name="videoname" required>
          </div>
        </div>

        <div class="form-group">
          <label  class="col-md-5 control-label">视频类型</label>
          <div class="col-md-3">

            <select class="form-control" name="videotype">

              <option value=2  >电影  </option>    
              <option value=12  >电视剧  </option>   
              <option value=3  >动画片  </option>   
              <option value=9  >原创  </option>
              <option value=11  >纪录片  </option>

            </select> 
          </div>
        </div>

        <div class="form-group">
          <label  class="col-md-5 control-label">视频海报</label>
          <div class="col-md-3">
            <input type="file" id="exampleInputFile" name="pic" required>
          </div>
        </div>


        <div class="form-group">
          <label  class="col-md-5 control-label">视频简介</label>
          <div class="col-md-3">
           <textarea class="form-control" rows="3" name="intro" required></textarea>
         </div>
       </div>

       <div class="form-group">
        <label for="address" class="col-md-5 control-label">下载地址</label>
        <div class=" col-md-3">
          <input type="text" class="form-control" id="address" placeholder="address" name="address" required>
        </div>
      </div>
      <div class="form-group">
        <div class="col-sm-offset-5 col-sm-10">
          <input type="submit" class="btn btn-default" value="提交" >
          <input type="reset" class="btn btn-default" value="重置" >
        </div>
      </div>
      <?php
      if(isset($_GET["msg1"]))
      {
       echo'<h1 style="color:red;">'.$_GET["msg1"]."</h1>";
     }
     ?>
     <?php
     if(isset($_GET["msg2"]))
     {
       echo'<h1 style="color:red;">'.$_GET["msg2"]."</h1>";
     }
     ?>
   </form>
 </div>
</body>
</div>
</div>

<hr />
</div>
</div>
</div>
<script src="./admin/View/assets/plugins/jquery-2.0.3.min.js"></script>
<script src="./admin/View/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="./admin/View/assets/plugins/modernizr-2.6.2-respond-1.1.0.min.js"></script>
</body>
</html>

